package com.yqy.spring.T1.SimpleFactory;

public class Client {
    public static void main(String[] args) {
        Weapon weapon=WeaponFactory.getWeapon("Gun");
        weapon.attack();
    }
}
